package com.example.demo.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class Register {
    private int id;
    private String name;
    private int register_type;
    private String department_type;
    private String doctor_id;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date time;
    private int price_r;
    private int is_handle;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getRegister_type() {
        return register_type;
    }

    public void setRegister_type(int register_type) {
        this.register_type = register_type;
    }

    public String getDepartment_type() {
        return department_type;
    }

    public void setDepartment_type(String department_type) {
        this.department_type = department_type;
    }

    public String getDoctor_id() {
        return doctor_id;
    }

    public void setDoctor_id(String doctor_id) {
        this.doctor_id = doctor_id;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public int getPrice_r() {
        return price_r;
    }

    public void setPrice_r(int price_r) {
        this.price_r = price_r;
    }

    public int getIs_handle() {
        return is_handle;
    }

    public void setIs_handle(int is_handle) {
        this.is_handle = is_handle;
    }
}
